package com.segersten.astro;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

class Entity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private final List<String> senteneces;
	private final Date created;
	
	
	public Entity() {
		super();
	}

	public Entity(List<String> senteneces) {
		super();
		this.senteneces = senteneces;
		this.created = new Date();
	}

	public List<String> getSenteneces() {
		return senteneces;
	}

	public Date getCreated() {
		return created;
	}
	
	@Override
	public String toString() {
		return String.format("sentenctes=%s created=%s", senteneces,created);
	}
}
